package com.hnuit.Dao;

import com.hnuit.pojo.Penalty;

import java.util.List;


public interface PenaltyMapper {
    int insertPenalty(Penalty penalty);
    Penalty findPenaltyById(int id);
    List<Penalty> findAllPenalties();
    int updatePenalty(Penalty penalty);
    int deletePenalty(Integer id);
}